Skip to content

v2#13

Open
jsnanigans wants to merge 124 commits intov1from
v2
Open

v2#13
jsnanigans wants to merge 124 commits intov1from
v2

Conversation

@jsnanigans
Copy link
Owner

@jsnanigans jsnanigans commented May 17, 2025

Summary by CodeRabbit

  • New Features
    • Added useExternalBlocStore hook and revamped useBloc with lifecycle callbacks and advanced dependency tracking.
    • Introduced global config (proxyDependencyTracking) and new testing utilities (BlocTest, MockCubit/Bloc, MemoryLeakDetector).
    • Bloc now processes events sequentially via an internal queue for predictable handling.
  • Refactor
    • Bloc API updated from reducer/actions to event classes with on/add handlers.
    • useBloc options renamed: id→instanceId, props→staticProps, dependencySelector→dependencies/selector.
  • Documentation
    • Major docs overhaul: guides, API references, React patterns, plugins, comparisons, and examples.
  • Chores
    • Version bumps, formatting scripts, CI and release workflows added.

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants